#include "form.h"
#include "ui_form.h"
#include<QPushButton>
#include "config.h"
#include "mainscene.h"

Form::Form(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Form)
{
                ui->setupUi(this);
    connect(ui->go,&QPushButton::clicked,[=]()
    {
        this->hide();
        this->page1.show();

    });
}

Form::~Form()
{
    delete ui;
}

